<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@page import="com.sentiment.config.Config" %>

<%
String rlPath = Config.relativePath;

String absPath = Config.projectRootPath;
%>
<!DOCTYPE html>
<html>
  <head>
    <title>舆情监测与盗版分析</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="content-type" charset="utf-8">
    <link href="WebPage/css/bootstrap.min.css" rel="stylesheet">
    <!--Google Fonts-->
    <link href='http://fonts.googleapis.com/css?family=Alef:400,700' rel='stylesheet' type='text/css'>
    <link href="WebPage/css/snippet.css" rel="stylesheet">
    <script src="WebPage/js/jquery-1.11.1.min.js"></script>
    <script src="WebPage/js/bootstrap.min.js"></script>
    <script src="WebPage/js/snippet.js"></script>
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">  
        function myReload(){  
            document.getElementById("createCheckCode").src=document.getElementById("createCheckCode").src + "?nocache="+new Date().getTime();  
        }  
    </script>
    
    <script type="text/javascript">
		function myrefresh(){
		//window.location.reload();
			myReload();
		}
		setInterval('myrefresh()',60000); 
	</script>
    
  </head>
  <body>
      <section>
        <div class="container bootshape">
            <form class="simple-login" role="form" action="<%=rlPath%>/LoginServlet?method=Login" method="post">
                <input name="username" type="username" autofocus required placeholder="用户名" class="form-control">
                <input name="password" type="password" required placeholder="密码" class="form-control">
                <div class="row">
                    <span>验证码</span>
                    <input type="text" name="checkCode">
                    <img id="createCheckCode" src="PictureCheckCode.jpeg">  
        			<a href="#" onClick="myReload()">看不清，换一个</a>
                </div>
                <br><br>
				<c:out value="${requestScope.errorInfo }" />
                <button id="login" type="submit" class="btn btn-lg btn-primary btn-block">登录</button>
                <a href="" class="forgot-password">忘记密码？</a>
                <span >|</span>
                <a class="forgot-password" href="<%=rlPath%>/WebPage/jsp/register.jsp">免费注册</a>
            </form>
            <p class="footer">Copyright@四川雷克斯安防科技有限公司，电话TEL:(86-28) 6555 4013  FAX:（86-28）6662 7439地址：成都市武侯区神仙树西路3号2）</p>
        </div>

      </section>

  </body>

</html>

</html>
